* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

table {
    border-spacing: 0;
    border-collapse: collapse;

    border: 1px solid #ccc;
}

thead > tr {
    color: #fff;
    background-color: #021c7d;
}

th {
    height: 26px;

    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
}

th,
td {
    position: relative;

    display: table-cell;

    padding-right: 30px;
    padding-left: 10px;

    text-align: left;

    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

tbody tr:nth-child(even) {
    background-color: #ddd;
}

th.descend,
th.ascend {
    background-color: #a7aefc;
}

th.descend:after,
th.ascend:after {
    position: absolute;
    top: 0;
    right: 5px;

    width: 20px;
    height: 26px;

    content: '';

    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: 20px;
            background-size: 20px;
}

th.descend:after {
    background-image: url(descend.png);
}

th.ascend:after {
    background-image: url(ascend.png);
}
.hidden {
    display: none;
}
